#include <iostream>
#include <iomanip>
using namespace std;

int main() {
    int i;
    float f;

    int* pI = &i;
    float* pF = &f;

    *pI = 4;
    *pF = 3.14159f;

    cout.setf(ios::left);
    cout << setw(15) << "指针名" << setw(13) << "值" << setw(14) << "地址" << "所指内存的值" << endl
        << setw(12) << "pI" << setw(12) << pI << setw(12) << &pI << *pI << endl
        << setw(12) << "pF" << setw(12) << pF << setw(12) << &pF << *pF << endl;
}